#ifndef __RTC8563S_H__
#define __RTC8563S_H__



enum
{
    RTC_Seconds_Addr = 2,	//
    RTC_Minutes_Addr,
		RTC_Hours_Addr,
		RTC_Days_Addr,
		RTC_Weekdays_Addr,
		RTC_Months_Addr,
		RTC_Years_Addr,
};




void RTC8563S_IO_init();
u8 I2C_ReadByte(u8 ReadAddress);
void RTC8563S_IO_init();
void rtc_WriteByte(u8 WriteAddress, u8 SendByte);
void aht20_read(void);
void aht20_start(void);
void cal_tempture_humidity();
	
extern int tempture_val;
extern unsigned char humidity_val;
extern unsigned char aht_buf[7];
#endif


